import { mergeTemplates } from '$lib/builder';
import { Description } from '$lib/components';
import { Eyes } from '$lib/eyes';
import { Inventory } from '$lib/inventory';
import { Player } from '$lib/player';
import { Stamina, StaminaRegen } from './stamina';
import { BloodLevel } from './blood';
import { Cash } from './cash';
import { humanTemplate } from './human';
import { FreeSkills } from './skill';
import { FreeStats } from './stat';

export const playerTemplate = mergeTemplates(humanTemplate, [
  [Player],
  [Description, {
    description: "That's you!",
  }],
  [Inventory, {
    size: 32,
    count: 0,
  }],
  [Cash, {
    amount: 5,
  }],

  [Eyes, {
    range: 5,
  }],

  [FreeStats, {
    amount: 8,
  }],
  [FreeSkills, {
    amount: 4,
  }],

  [Stamina, {
    max: 10,
    amount: 5,
  }],
  [StaminaRegen, {
    amount: 1,
  }],

  [BloodLevel, {
    max: 10,
    amount: 10,
  }],
]);
